﻿using Forum.Entity.CodeFirst.model;
using Microsoft.AspNetCore.Mvc;

namespace Forum.Entity.CodeFirst.Controllers
{
    [ApiController]
    [Route("[controller]/{action}")]
    public class HomeController : ControllerBase
    {
        public string Test()
        {
            AppDbContext context = new AppDbContext();
            context.CreateTable(false, 50, typeof(Photo));

            return "ok";
        }
    }
}
